package com.studerb.dao.interfaces;

import java.util.Calendar;
import java.util.List;

import com.studerb.model.NewsGroup;

public interface INewsGroupDao extends DaoInterface<NewsGroup> {
	int deleteAllUnsubscribedByLastUpdated(Calendar before);

	int deleteSubscribed();

	int deleteUnSubscribed();

	NewsGroup getByGroupName(String groupName);

	int getHeaderCount(NewsGroup group);

	Long getMaxArticleNumber(NewsGroup newsGroup);

	Long getMinArticleNumber(NewsGroup newsGroup);

	List<NewsGroup> getSubscribed();

	List<NewsGroup> getUnSubscribed();
}
